<?php
$user = "root";
$password = "barpedia";
$connect = mysql_connect("localhost", $user, $password);
if(!$connect){
    die('Could not connect: ' . mysql_error());
}

$dbselected = mysql_select_db("barpedia", $connect);
if(!$dbselected){
    die('Could not use ' . DB_NAME . ': ' . mysql_error());
}
mysql_query("SET NAMES UTF8");
?>
